package com.rr.mymoney.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.rr.mymoney.model.MonthBudget;

@Repository
public interface MonthBudgetDao {
    public void saveOrUpdate(MonthBudget monthBudget);

    public MonthBudget get(Long id);

    public void delete(MonthBudget monthBudget);

    public List<MonthBudget> getByUserIds(List<Long> userIds);

    public List<MonthBudget> getGenericBudget(List<Long> userIds);

    public List<MonthBudget> getGenericMonthlyBugdet(List<Long> userIds, int month);

    public List<MonthBudget> getSpecificMonthlyBugdet(List<Long> userIds, int month, int year);
}
